package com.hedl.classroom.model.dto;


import com.hedl.classroom.model.po.CourseCategory;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.List;

@ApiModel("课程分类")
public class CourseCategoryTreeDto extends CourseCategory implements Serializable {

    List<CourseCategoryTreeDto> childrenTreeNodes;

    public CourseCategoryTreeDto(List<CourseCategoryTreeDto> childrenTreeNodes) {
        this.childrenTreeNodes = childrenTreeNodes;
    }

    public CourseCategoryTreeDto() {
    }

    public List<CourseCategoryTreeDto> getChildrenTreeNodes() {
        return childrenTreeNodes;
    }

    public void setChildrenTreeNodes(List<CourseCategoryTreeDto> childrenTreeNodes) {
        this.childrenTreeNodes = childrenTreeNodes;
    }

    @Override
    public String toString() {
        return "CourseCategoryTreeDto{" +
                "childrenTreeNodes=" + childrenTreeNodes +
                '}';
    }
}
